package com.cc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient //开启服务注册与发现
@MapperScan("com.cc.mapper")
public class StudentApplication {
    //主程序启动类；

    public static void main(String[] args) {
        SpringApplication.run(StudentApplication.class, args);
    }

}
